home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Over 1,000 Windows 95 Programs
/
Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso
/
0232
/
setup.smm
< prev
next >
Wrap
INI File
|
1997-03-26
|
9KB
|
761 lines
[ver]
4
[sty]
[files]
[charset]
82
ANSI (Windows, IBM CP 1252)
[revisions]
0
[prn]
PostScript Printer
[port]
LPT1:
[lang]
2
[fldnames]
Field1
Field2
Field3
Field4
Field5
Field6
Field7
Field8
[desc]
816257812
9
797006269
78
2
0
0
0
0
1
[fopts]
0
1
0
0
[lnopts]
2
Body Text
1
[docopts]
5
2
[GramStyle]
[tag]
Body Text
2
[fnt]
Arial MT
240
0
16384
[algn]
1
1
216
0
0
[spc]
33
273
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
1
1
1
10
10
1
[spec]
0
0
0
1
1
0
16
0
0
[nfmt]
272
1
2
.
,
</c>
Body Text
0
0
[tag]
Body Single
3
[fnt]
TimesNewRomanPS
200
0
49152
[algn]
1
1
0
0
0
[spc]
33
273
1
0
0
1
100
[brk]
4
[line]
8
0
1
0
1
1
1
10
10
1
[spec]
0
0
0
1
1
0
0
0
0
[nfmt]
272
1
2
.
,
</c>
Body Single
0
0
[tag]
Function
4
[fnt]
Arial MT
200
0
16385
[algn]
1
1
0
0
0
[spc]
33
244
1
0
0
1
100
[brk]
68
[line]
8
0
1
0
1
1
1
10
10
1
[spec]
0
1
0
1
1
0
0
0
0
[nfmt]
272
1
2
.
,
</c>
Body Text
0
0
[lay]
Standard
516
[rght]
16833
11908
1
1440
1440
1
1440
1440
0
1
0
1
0
2
1
1440
10465
12
1
720
1
1440
1
2160
1
2880
1
3600
1
4320
1
5040
1
5760
1
6480
1
7200
1
7920
1
8640
[hrght]
[lyfrm]
1
11200
0
0
11908
1440
0
1
3
1 0 0 0 0 0 0
0
0
1
[frmlay]
1440
11908
1
1440
72
1
792
1440
0
1
0
1
1
0
1
1440
10465
1
3
9360
[txt]
>
[frght]
[lyfrm]
1
13248
0
15393
11908
16833
0
1
3
1 0 0 0 0 0 0
0
0
2
[frmlay]
16833
11908
1
1440
792
1
15465
1440
0
1
0
1
1
0
1
1440
10465
2
2
4680
3
9360
[txt]
>
[elay]
[l1]
0
[pg]
2
49 0 40 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
96 0 12 1025 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
[edoc]
<:#278,9025>FUNCTION SetupAmiWeb()
<:#278,9025>
<:#278,9025>Win=GetWindowsDirectory$()
<:#278,9025>Ami=GetAmiDirectory$()
<:#278,9025>Macros=GetMacPath$()
<:#278,9025>Style=GetStylePath$()
<:#278,9025>Docs=GetDocPath$()
Icons="{Ami}icons\"
<:#278,9025>
<:#278,9025>
<:#556,9025>Message("Please send me a REAL postcard!! See README.TXT","AmiWeb Setup")
<:#278,9025>File=FindFirst$("{Win}system\ole2nls.dll",0)
<:#278,9025>IF File=""
<:#278,9025> Message("You must install OLE2 first","AmiWeb Setup")
<:#278,9025> EXIT FUNCTION
<:#278,9025>ENDIF
<:#278,9025>File=FindFirst$("{Ami}wn_sm2ht.exe",0)
<:#278,9025>IF File<<<;>""
<:#278,9025> DOSDelFile("{Ami}wn_sm2ht.exe")
<:#278,9025>ENDIF
<:#278,9025>FillEdit(8000,Macros)
<:#278,9025>FillEdit(8001,Icons)
<:#278,9025>FillEdit(8002,Style)
<:#278,9025>FillEdit(8003,Docs)
<:#278,9025>
<:#278,9025>Box=DialogBox(".","Setup")
<:#278,9025>IF Box<<<;>1
<:#278,9025> EXIT FUNCTION
<:#278,9025>ENDIF
<:#278,9025>
<:#278,9025>Macros=GetDialogField$(8000)
<:#278,9025>Icons=GetDialogField$(8001)
<:#278,9025>Style=GetDialogField$(8002)
<:#278,9025>Docs=GetDialogField$(8003)
<:#278,9025>
<:#278,9025>MacroName=GetRunningMacroFile$()
<:#278,9025>Pos=LEN(MacroName)
<:#278,9025>WHILE "\" != MID$(MacroName, Pos, 1)
<:#278,9025> Pos = Pos - 1
<:#278,9025>WEND
<:#278,9025>PathName = Left$(MacroName, Pos)
<:#278,9025>Entries=GetProfileString$("info","windows","{PathName}Setup.ini")
<:#278,9025>CALL CopyFiles(Win, Entries, PathName)
<:#278,9025>Entries=GetProfileString$("info","macros","{PathName}Setup.ini")
<:#278,9025>CALL CopyFiles(Macros, Entries, PathName)
<:#278,9025>Entries=GetProfileString$("info","styles","{PathName}Setup.ini")
<:#278,9025>CALL CopyFiles(Style, Entries, PathName)
<:#278,9025>Entries=GetProfileString$("info","icons","{PathName}Setup.ini")
<:#278,9025>CALL CopyFiles(Icons, Entries, PathName)
<:#278,9025>Entries=GetProfileString$("info","docs","{PathName}Setup.ini")
<:#278,9025>CALL CopyFiles(Docs, Entries, PathName)
<:#278,9025>Message("Installation Complete")
<:#278,9025>
<:#278,9025>END FUNCTION
<:#278,9025>
<:#278,9025>DIALOG Setup
<:#278,9025>-2134376448 11 36 62 246 146 "" "" "AmiWeb Setup"
<:#278,9025>18 28 40 10 1000 1342177280 "static" "Macros file" 0
<:#278,9025>18 48 40 10 1001 1342177280 "static" "SmartIcons" 0
<:#278,9025>18 68 40 10 1002 1342177280 "static" "Style Sheet" 0
<:#278,9025>18 88 40 10 1003 1342177280 "static" "Documents" 0
<:#556,9025>26 6 130 10 1004 1342177280 "static" "Destination directories for:" 0
<:#278,9025>62 26 150 12 8000 1350631552 "edit" "" 0
<:#278,9025>62 46 150 12 8001 1350631552 "edit" "" 0
<:#278,9025>62 66 150 12 8002 1350631552 "edit" "" 0
<:#278,9025>62 86 150 12 8003 1350631552 "edit" "" 0
<:#278,9025>60 116 40 14 1 1342373889 "button" "OK" 0
<:#278,9025>130 116 40 14 2 1342373888 "button" "Quit Setup" 0
<:#278,9025>END DIALOG
<:#278,9025>
<:#278,9025>
<:#278,9025>FUNCTION CopyFiles(Directory, Entries, PathName)
<:#278,9025>
<:#278,9025>IF Right$(Directory,1)<<<;>"\"
<:#278,9025> Directory="{Directory}\"
<:#278,9025>ENDIF
<:#278,9025>Pos=1
<:#278,9025>WHILE Pos<<LEN(Entries)
<:#278,9025> Pos2=Pos
<:#278,9025> WHILE (" "<<<;>MID$(Entries, Pos, 1)) AND(Pos<<LEN(Entries))
<:#278,9025> Pos=Pos+1
<:#278,9025> WEND
<:#278,9025> IF(Pos<<LEN(Entries))
<:#278,9025> Pos=Pos+(-1)
<:#278,9025> ENDIF
<:#278,9025> Files=MID$(Entries, Pos2, (Pos-Pos2)+1)
<:#278,9025> File=FindFirst$("{PathName}{Files}",0)
<:#278,9025> WHILE File<<<;>""
<:#278,9025> IF DOSCopyFile("{PathName}{File}","{Directory}{File}") <<<;> 1
<:#278,9025> Message("Unable to copy {File} to {Directory}")
<:#278,9025> ENDIF
<:#278,9025> File=FindNext$()
<:#278,9025> WEND
<:#278,9025> Pos=Pos+2
<:#278,9025>WEND
<:#278,9025>END FUNCTION
>
[Embedded]
00006573
>
[macsum] 3
SetupAmiWeb 0 0 13 0
Setup 1237 0 -1 55
CopyFiles 1861 3 5 71
[macse]
14 SetupAmiWeb
0 1288
13
8 1
0 798
13
8 2
0 295
13
8 3
0 269
13
8 4
0 268
13
8 5
7 "{2}icons\"
8 6
0 3 "Please send me a REAL postcard!! See README.TXT" "AmiWeb Setup"
0 280 "{1}system\ole2nls.dll" 0
13
8 7
6 7
7 ""
18 0
11 00000322
0 3 "You must install OLE2 first" "AmiWeb Setup"
6 0
15
9
0 280 "{2}wn_sm2ht.exe" 0
13
8 7
6 7
7 ""
18 1
11 00000413
0 779 "{2}wn_sm2ht.exe"
0 31 8000 "{3}"
0 31 8001 "{6}"
0 31 8002 "{4}"
0 31 8003 "{5}"
0 26 "." "Setup"
13
8 8
6 8
5 1
18 1
11 00000549
6 0
15
9
0 27 8000
13
8 3
0 27 8001
13
8 6
0 27 8002
13
8 4
0 27 8003
13
8 5
0 802
13
8 9
0 14 "{9}"
13
8 10
7 "\"
0 15 "{9}" "{10}" 1
13
18 1
11 00000753
6 10
5 1
3 1
8 10
10 00000667
0 806 "{9}" "{10}"
13
8 11
0 286 "info" "windows" "{11}Setup.ini"
13
8 12
16 CopyFiles "{1}" "{12}" "{11}"
0 286 "info" "macros" "{11}Setup.ini"
13
8 12
16 CopyFiles "{3}" "{12}" "{11}"
0 286 "info" "styles" "{11}Setup.ini"
13
8 12
16 CopyFiles "{4}" "{12}" "{11}"
0 286 "info" "icons" "{11}Setup.ini"
13
8 12
16 CopyFiles "{6}" "{12}" "{11}"
0 286 "info" "docs" "{11}Setup.ini"
13
8 12
16 CopyFiles "{5}" "{12}" "{11}"
0 3 "Installation Complete"
6 0
15
9
DIALOG Setup
-2134376448 11 36 62 246 146 "" "" "AmiWeb Setup"
18 28 40 10 1000 1342177280 "static" "Macros file" 0
18 48 40 10 1001 1342177280 "static" "SmartIcons" 0
18 68 40 10 1002 1342177280 "static" "Style Sheet" 0
18 88 40 10 1003 1342177280 "static" "Documents" 0
26 6 130 10 1004 1342177280 "static" "Destination directories for:" 0
62 26 150 12 8000 1350631552 "edit" "" 0
62 46 150 12 8001 1350631552 "edit" "" 0
62 66 150 12 8002 1350631552 "edit" "" 0
62 86 150 12 8003 1350631552 "edit" "" 0
60 116 40 14 1 1342373889 "button" "OK" 0
130 116 40 14 2 1342373888 "button" "Quit Setup" 0
14 CopyFiles
0 807 "{0}" 1
13
7 "\"
18 1
11 00000074
7 "{0}\"
8 0
5 1
8 4
6 4
0 14 "{1}"
13
18 5
11 00000571
6 4
8 5
7 " "
0 15 "{1}" "{4}" 1
13
18 1
6 4
0 14 "{1}"
13
18 5
1 1
11 00000249
6 4
5 1
3 0
8 4
10 00000134
6 4
0 14 "{1}"
13
18 5
11 00000310
6 4
5 -1
3 0
8 4
6 4
6 5
3 1
5 1
3 0
0 15 "{1}" "{5}" [X]
13
8 6
0 280 "{2}{6}" 0
13
8 7
6 7
7 ""
18 1
11 00000538
0 803 "{2}{7}" "{0}{7}"
13
5 1
18 1
11 00000509
0 3 "Unable to copy {7} to {0}"
0 281
13
8 7
10 00000393
6 4
5 2
3 0
8 4
10 00000084
6 3
15
9
00006598